﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Transactions;

using MINERP.DAL;
using MINERP.DAL.InfoConfig;

namespace MINERP.BLL.InfoConfig
{
    public class BordWidthBLL
    {
        #region //Private Fields


        #endregion


        #region //Public Properties

        #endregion



        #region //Public Methods
        /// <summary>
        /// Get BordWidth List
        /// </summary>
        /// <returns></returns>
        public List<BoardWidth> GetBordWidthList()
        {
            return BordWidthDAL.GetBordWidthList();
        }
        /// <summary>
        /// Get BordWidth object
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public BoardWidth GetBordWidthObj(double width)
        {
            return BordWidthDAL.GetBordWidthObj(width);
        }

        /// <summary>
        /// Get BordWidth object
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public BoardWidth GetBordWidthObj(int id)
        {
            return BordWidthDAL.GetBordWidthObj(id);
        }

        public void Add(BoardWidth obj)
        {
            BordWidthDAL.Add(obj);
        }

        public void Update()
        {
            BordWidthDAL.Update();
        }

        public void Delete(BoardWidth obj)
        {
            BordWidthDAL.Delete(obj);
        }
        #endregion
    }
}
